import { http } from '@/utils/http'

// 渠道来源字典接口
export const getSourceDicAPI = (data: any) => {
  return http({
    url: 'backstage/channel-source/',
    method: 'GET',
    data
  })
}
// 提交渠道来源
export const submitSourceAPI = (data: any) => {
  return http({
    url: 'backstage/channel-source/',
    header:{
      'Content-type': 'application/json',
    },
    method: 'POST',
    data: data
  })
}
